#include "S_11_IotLinkage_doChange.h"
#include "property_decoder.h"
#include "spec.h"


void P_11_14_DeviceCO2_doChange(int newValue)
{
	property_value_t thiz;
    memset(&thiz,0,sizeof(thiz));

	property_value_new_integer(&thiz,newValue);
	
	if (send_property_changed(11, 14, &thiz) != MIIO_OK)
    {
       LOG_INFO("%s:send_property_changed failed!\n",__func__);
    }
}

//void P_11_17_OnlineCO2_doChange(bool newValue)
//{
//	property_value_t thiz;
//    memset(&thiz,0,sizeof(thiz));

//	property_value_new_boolean(&thiz,newValue);
//	
//	if (send_property_changed(11, 17, &thiz) != MIIO_OK)
//    {
//       LOG_INFO("%s:send_property_changed failed!\n",__func__);
//    }
//}



